<?php
class classname
{
    public function __construct()
    {
        echo __METHOD__."\n";
    }

}


function funcname()
{
    echo __FUNCTION__."\n";
}

const constname = "global";

$a = 'classname';
$obj = new $a;
$b = 'funcname';
$b();

echo constant('constname');


